package com.linsen.erp.admin.provider.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description:
 * @ProjectName: erp
 * @Package: com.linsen.erp.admin.provider.dto
 * @ClassName: MenuDTO
 * @Author: zhaoyong
 * @Email: zy765203718@gmail.com
 * @Date: 2023/7/27 9:51
 * @Version: 1.0
 */
@Data
@ApiModel("菜单DTO")
public class MenuDTO implements Serializable {
    @ApiModelProperty("菜单id")
    private String id;
    @ApiModelProperty("菜单类型：0，模块；1，目录；2，菜单；3，按钮")
    private Integer type;
    @ApiModelProperty("上级菜单id")
    private String pid;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("权限code码")
    private String permission;
    @ApiModelProperty("路由标识")
    private String router;
    @ApiModelProperty("优先级")
    private Integer priority;
}
